<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css"
	href="skin/default/jooyea/css/iframe.css" />
<script type='text/javascript'
	src="skin/default/jooyea/jquery/js/jquery-1.8.2.min.js"></script>
<script src="skin/default/jooyea/jquery/js/vendor/jquery.ui.widget.js"></script>
<script src="skin/default/jooyea/jquery/js/fileuploader.js"></script>
<script type="text/javascript">
var uploader = new qq.FileUploaderBasic({
    // pass the dom node (ex. $(selector)[0] for jQuery users)
    //element: $('#file_upload')[0],
    // path to server-side upload script
    action: 'service/album/photo_upload.php',
    autoUpload:true,
    button:$('#upload_file')[0],
    onComplete:function(id, fileName, responseJSON){
    	alert(id + "upload success" + fileName + responseJSON);
    }
});
</script>
<title>Insert title here</title>
</head>
<body>
	<div>
		<button id="upload_file">upload</button> 
	</div>
	<div id="add_photo_info" class="coat_upload_view">
		<div>
			<img alt="" src="" class="coat_upload_preview_img">
			<div>
				<span>价格：</span> <input type="text" name="coat_price"><span>购买日期</span><input
					type="text">
			</div>
			<div>
				<span>描述：</span>
				<textarea name="coat_description"></textarea>
			</div>
			<input type="button" title="添加" value="添加">
		</div>
	</div>
</body>
</html>